package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/7/16 0016.
 */

public class MyAttentionBean {

    /**
     * code : 200
     * data : {"concern":[{"name":"皮卡丘","email":"2794020038@qq.com","unit":"中北大","from_uid":"3128","to_uid":"542","id":"1365","photo":"5a35b9345d996.jpg","m":0},{"name":"刘泽启","email":"","unit":"华北水利水电大学","from_uid":"1923","to_uid":"542","id":"1361","photo":"5a29ec0b8a55d.jpg","m":0},{"name":"天率校园","email":"yinsong@tinsine.com","unit":"天率科技","from_uid":"2","to_uid":"542","id":"1341","photo":"5a3a0bee96dde.png","m":0},{"name":null,"email":null,"unit":null,"from_uid":"1787","to_uid":"542","id":"1338","photo":null,"m":0},{"name":"李启连","email":"","unit":"长江大学","from_uid":"572","to_uid":"542","id":"1293","photo":"59da28d5dd603.jpg","m":0},{"name":"张琼霞","email":"","unit":"北京信息科技大学","from_uid":"549","to_uid":"542","id":"1016","photo":"59be1ed58d3cf.png","m":0},{"name":"奇妙世界","email":"","unit":"西华师范大学","from_uid":"553","to_uid":"542","id":"926","photo":"5a2aaf71911bc.png","m":0}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("concern")
        private List<ConcernBean> concern;

        public List<ConcernBean> getConcern() {
            return concern;
        }

        public void setConcern(List<ConcernBean> concern) {
            this.concern = concern;
        }

        public static class ConcernBean {
            /**
             * name : 皮卡丘
             * email : 2794020038@qq.com
             * unit : 中北大
             * from_uid : 3128
             * to_uid : 542
             * id : 1365
             * photo : 5a35b9345d996.jpg
             * m : 0
             */

            @SerializedName("name")
            private String name;
            @SerializedName("email")
            private String email;
            @SerializedName("unit")
            private String unit;
            @SerializedName("from_uid")
            private String fromUid;
            @SerializedName("to_uid")
            private String toUid;
            @SerializedName("id")
            private String id;
            @SerializedName("photo")
            private String photo;
            @SerializedName("m")
            private int m;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getFromUid() {
                return fromUid;
            }

            public void setFromUid(String fromUid) {
                this.fromUid = fromUid;
            }

            public String getToUid() {
                return toUid;
            }

            public void setToUid(String toUid) {
                this.toUid = toUid;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public int getM() {
                return m;
            }

            public void setM(int m) {
                this.m = m;
            }
        }
    }
}
